package xin.lhuo.we.server.service;

import xin.lhuo.we.server.entity.User;
import xin.lhuo.we.server.form.UserForm;

/**
 * @author Lhuo
 * @date 2019/4/30 16:01
 */
public interface IUserService {


    /**
     * 注册用户
     * @param userForm
     */
    void saveUser(UserForm userForm);

    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     */
    User login(String username,String password);

}
